export interface AlarmRiskEventVO {
  id: string | number;
  eventName: string;
  bias1?: string;
  bias2?: string;
  bias3?: string;
  bias4?: string;
  equipmentId?: string | number;
  equipmentName?: string;
  inherentRiskLikelihood?: number; // 0-8
  inherentRiskSeverity?: number; // 0-8 (A-F)
  inherentRiskSeverityName?: string;
  residualRiskLikelihood?: number; // 0-8
  residualRiskSeverity?: number; // 0-8 (A-F)
  residualRiskSeverityName?: string;
  reason?: string;
  measure?: string;
  indicatorNum?: string; // 工艺位号
  result?: string; // 后果
}

export interface AlarmRiskEventForm extends BaseEntity {
  id?: string | number;
  eventName?: string;
  bias1?: string;
  bias2?: string;
  bias3?: string;
  bias4?: string;
  equipmentId?: string | number;
  inherentRiskLikelihood?: number;
  inherentRiskSeverity?: number;
  residualRiskLikelihood?: number;
  residualRiskSeverity?: number;
  reason?: string;
  measure?: string;
  indicatorNum?: string;
  result?: string;
}

export interface AlarmRiskEventQuery extends PageQuery {
  createDept?: string | number;
  createBy?: string | number;
  createTime?: string;
  updateBy?: string | number;
  updateTime?: string;
  id?: string | number;
  eventName?: string;
  bias1?: string;
  bias2?: string;
  bias3?: string;
  bias4?: string;
  equipmentId?: string | number;
  inherentRiskLikelihood?: number;
  inherentRiskSeverity?: number;
  residualRiskLikelihood?: number;
  residualRiskSeverity?: number;
  reason?: string;
  measure?: string;
  indicatorNum?: string;
  result?: string;
  orderByColumn?: string;
  isAsc?: string;
  params?: any;
}

